﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Reflection.Emit;
using System.Text;
using System.Threading.Tasks;
using RFC.AOP;

namespace RFC.Emit.Demo.ConsoleApplication
{
    public class TestAOP : ITest
    {
        private readonly ITest _test;

        public TestAOP(string msg)
        {
            this._test = new Test(msg);
        }


        public string Say(string message)
        {
           return _test.Say(message);
        }

        public int Add(int x, int y)
        {
            throw new NotImplementedException();
        }
    }
}
